{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-10-23T11:22:32.155012Z",
     "start_time": "2020-10-23T11:22:32.149475Z"
    }
   },
   "outputs": [],
   "source": [
    "from time import sleep\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-10-23T11:24:15.609251Z",
     "start_time": "2020-10-23T11:24:15.605673Z"
    }
   },
   "outputs": [],
   "source": [
    "async def shy():\n",
    "    for i in range(10):\n",
    "        print(i)\n",
    "        sleep(0.5)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-10-23T11:26:12.712579Z",
     "start_time": "2020-10-23T11:26:02.686350Z"
    }
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "0\n",
      "1\n",
      "2\n",
      "3\n",
      "4\n",
      "5\n",
      "6\n",
      "7\n",
      "8\n",
      "9\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n",
      "99999999\n"
     ]
    }
   ],
   "source": [
    "await shy()\n",
    "for i in range(50):\n",
    "    print(99999999)\n",
    "    sleep(0.1)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
